#include "PlayerObject.h"
#include "WorldHandler.h"

PlayerObject::PlayerObject()
{
	HP = 100;
	killCount = 0;
	setObjectType(PLAYER_OBJECT);
}

/*int LivingObject::setIsLiving(bool state)
{
    isLiving = state;
    return 0;
}

bool LivingObject::getIsLiving()
{
    return isLiving;
}*/

void PlayerObject::setPlayerIndex(unsigned int passedPlayerIndex)
{
	playerIndex = passedPlayerIndex;
}

unsigned int* PlayerObject::getPlayerIndex()
{
	return &playerIndex;
}

bool PlayerObject::getIsConnected()
{
	return isConnected;
}

void PlayerObject::setIsConnected(bool passedIsConnected)
{
	isConnected = passedIsConnected;
}

void PlayerObject::increaseKillCount()
{
	++killCount;
}
void PlayerObject::setKillCount(int passedKillCount)
{
	killCount = passedKillCount;
}
